
package com.bei_en.teacher.management.persistence.dao;

import java.util.List;
import com.bei_en.teacher.management.model.BaseBean;

public interface BaseDao<T extends BaseBean, PK extends java.io.Serializable> {

    void insert(T model);

    int delete(PK modelPK);

    T findById(PK modelPK);

    void update(T model);

    void updateSelective(T model);

    int countAll();

    List<T> findAll();

    List<PK> findAllIds();

}
